﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

using SoundMatcher.bean_classes;

namespace SoundMatcher.bean_classes
{
    class GapsComparer:IComparer<Song>
    {
        #region IComparer Members

        public int Compare(Song song1, Song song2)
        {
            return ((Song)song1).Gaps.CompareTo(((Song)song2).Gaps);
        }

        #endregion
    }
}
